package com.example.kotlincustomview.ui.adapter

import android.widget.ImageView
import com.bumptech.glide.Glide
import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.BaseViewHolder
import com.example.kotlincustomview.R

class WritingBoardAdapter : BaseQuickAdapter<String, BaseViewHolder>(R.layout.item_wboard) {
    override fun convert(helper: BaseViewHolder?, item: String?) {
        var item_ImageView = helper?.getView<ImageView>(R.id.item_ImageView)
        Glide.with(mContext).load(item).into(item_ImageView!!)
    }
}